package com.sun.pojo.dto;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author SunRui
 * @description 前端传回的User信息
 * @date 2024/10/5 16:01
 */
public class UserDTO implements Serializable {
    @Serial
    private static final long serialVersionUID = 2776304622675781951L;
    private String name;
    private int gender;

    @Override
    public String toString() {
        return "UserDTO{" +
                "name='" + name + '\'' +
                ", gender=" + gender +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getGender() {
        return gender;
    }

    public void setGender(int gender) {
        this.gender = gender;
    }
}
